package com.ruoyi.yusuan.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 医疗风险专项支出表对象 ys_medical_risk
 * 
 * @author mzh
 * @date 2021-01-13
 */
public class YsMedicalRisk extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long reskId;

    /** 预算年度 */
    @Excel(name = "预算年度")
    private String budgYear;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String itemName;

    /** 经费来源 */
    @Excel(name = "经费来源")
    private String budgSource;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal budgValue;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date budgDate;

    /** 状态 */
    @Excel(name = "状态")
    private String states;

    /** 附件 */
    @Excel(name = "附件")
    private String enclosuer;

    public void setReskId(Long reskId) 
    {
        this.reskId = reskId;
    }

    public Long getReskId() 
    {
        return reskId;
    }
    public void setBudgYear(String budgYear) 
    {
        this.budgYear = budgYear;
    }

    public String getBudgYear() 
    {
        return budgYear;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setBudgSource(String budgSource) 
    {
        this.budgSource = budgSource;
    }

    public String getBudgSource() 
    {
        return budgSource;
    }
    public void setBudgValue(BigDecimal budgValue) 
    {
        this.budgValue = budgValue;
    }

    public BigDecimal getBudgValue() 
    {
        return budgValue;
    }
    public void setBudgDate(Date budgDate) 
    {
        this.budgDate = budgDate;
    }

    public Date getBudgDate() 
    {
        return budgDate;
    }
    public void setStates(String states) 
    {
        this.states = states;
    }

    public String getStates() 
    {
        return states;
    }
    public void setEnclosuer(String enclosuer) 
    {
        this.enclosuer = enclosuer;
    }

    public String getEnclosuer() 
    {
        return enclosuer;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reskId", getReskId())
            .append("budgYear", getBudgYear())
            .append("itemName", getItemName())
            .append("budgSource", getBudgSource())
            .append("budgValue", getBudgValue())
            .append("budgDate", getBudgDate())
            .append("remark", getRemark())
            .append("states", getStates())
            .append("enclosuer", getEnclosuer())
            .toString();
    }
}
